package liangtWorkSpace.threadDemo.MathThrad;

/**
 * @ClassName MainClass
 * @Description : 功能说明
 * @Author : LiangT
 * @Date : 2020/7/4 18:27
 */
public class MainClass {
    public static void main(String[] args) {
        ThreadAddSub[] subs = new ThreadAddSub[4];
        for (int i = 0 ; i < subs.length ; i++){
            subs[i] = new ThreadAddSub(i%2 == 0);
            subs[i].start();
        }
    }
}
